package com.yunji.product.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yunji.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class AgentProductVO {

    @Excel(name = "商品ID", width = 15)
    @TableId(type = IdType.AUTO)
    private Long id;

    @Excel(name = "商品类型", width = 15)
    @ApiModelProperty("商品类型")
    private Integer productType;

    @Excel(name = "商品名称", width = 15)
    @ApiModelProperty("商品名称")
    private String productName;


    @Excel(name = "销量", width = 15)
    @ApiModelProperty("销量")
    private Long sale;


    @Excel(name = "销售价", width = 15)
    @ApiModelProperty("销售价")
    private BigDecimal price;

    @Excel(name = "成本价", width = 15)
    @ApiModelProperty("成本价")
    private BigDecimal costPrice;

    @Excel(name = "折扣价", width = 15)
    @ApiModelProperty("折扣价")
    private BigDecimal discountPrice;

    @Excel(name = "代理折扣价", width = 15)
    @ApiModelProperty("代理折扣价")
    @TableField(exist = false)
    private BigDecimal agentDiscountPrice;

    @Excel(name = "代理商授权价")
    @ApiModelProperty("代理商授权价")
    @TableField(exist = false)
    private BigDecimal agentPrice;

    @ApiModelProperty("平台销售价")
    @TableField(exist = false)
    private BigDecimal platformPrice;

}
